You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxInt Class > TMtxInt Methods > Disown Method > TMtxInt.Disown Method (out int[], out int, out int, out int, out TIntPrecision)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxInt.Disown Method (out int[], out int, out int, out int, out TIntPrecision)

Disowns a pointer to an array from matrix Values1D.

Syntax
C#
Visual Basic
public void Disown(out int[] aArray, out int aIndex, out int aRows, out int aCols, out TIntPrecision aIntPrecision);

The method does the opposite of the Adopt method. It will set the AArrays to Pointer(Values), ARows and ACols to matrix's Rows and Cols and aIntPrecision to matrix IntPrecision property. Use the Disown method to "disconnect" AArray from the TMtxInt.IValues1D. Disown sets IValues1D, SValues1D and BValues1D array pointers to nil and Rows, Cols properties to ACols, but without freeing the allocated memory. The allocated memory can be disowned only, if it was adopted with a call to the Adopt method.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!